public class singleNonDuplicate {
    public static void main(String[] args) {
        int[] num = new int[]{1,1,2,3,3,4,4};
        Solution solution = new Solution();
        System.out.println(solution.singleNonDuplicate(num));
    }
}
